package com.igeekhome.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PProblemShipmentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PProblemShipmentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andWaybillIsNull() {
            addCriterion("Waybill is null");
            return (Criteria) this;
        }

        public Criteria andWaybillIsNotNull() {
            addCriterion("Waybill is not null");
            return (Criteria) this;
        }

        public Criteria andWaybillEqualTo(Integer value) {
            addCriterion("Waybill =", value, "waybill");
            return (Criteria) this;
        }

        public Criteria andWaybillNotEqualTo(Integer value) {
            addCriterion("Waybill <>", value, "waybill");
            return (Criteria) this;
        }

        public Criteria andWaybillGreaterThan(Integer value) {
            addCriterion("Waybill >", value, "waybill");
            return (Criteria) this;
        }

        public Criteria andWaybillGreaterThanOrEqualTo(Integer value) {
            addCriterion("Waybill >=", value, "waybill");
            return (Criteria) this;
        }

        public Criteria andWaybillLessThan(Integer value) {
            addCriterion("Waybill <", value, "waybill");
            return (Criteria) this;
        }

        public Criteria andWaybillLessThanOrEqualTo(Integer value) {
            addCriterion("Waybill <=", value, "waybill");
            return (Criteria) this;
        }

        public Criteria andWaybillIn(List<Integer> values) {
            addCriterion("Waybill in", values, "waybill");
            return (Criteria) this;
        }

        public Criteria andWaybillNotIn(List<Integer> values) {
            addCriterion("Waybill not in", values, "waybill");
            return (Criteria) this;
        }

        public Criteria andWaybillBetween(Integer value1, Integer value2) {
            addCriterion("Waybill between", value1, value2, "waybill");
            return (Criteria) this;
        }

        public Criteria andWaybillNotBetween(Integer value1, Integer value2) {
            addCriterion("Waybill not between", value1, value2, "waybill");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsIsNull() {
            addCriterion("problem_reasons is null");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsIsNotNull() {
            addCriterion("problem_reasons is not null");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsEqualTo(String value) {
            addCriterion("problem_reasons =", value, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsNotEqualTo(String value) {
            addCriterion("problem_reasons <>", value, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsGreaterThan(String value) {
            addCriterion("problem_reasons >", value, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsGreaterThanOrEqualTo(String value) {
            addCriterion("problem_reasons >=", value, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsLessThan(String value) {
            addCriterion("problem_reasons <", value, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsLessThanOrEqualTo(String value) {
            addCriterion("problem_reasons <=", value, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsLike(String value) {
            addCriterion("problem_reasons like", value, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsNotLike(String value) {
            addCriterion("problem_reasons not like", value, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsIn(List<String> values) {
            addCriterion("problem_reasons in", values, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsNotIn(List<String> values) {
            addCriterion("problem_reasons not in", values, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsBetween(String value1, String value2) {
            addCriterion("problem_reasons between", value1, value2, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemReasonsNotBetween(String value1, String value2) {
            addCriterion("problem_reasons not between", value1, value2, "problemReasons");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionIsNull() {
            addCriterion("problem_description is null");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionIsNotNull() {
            addCriterion("problem_description is not null");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionEqualTo(String value) {
            addCriterion("problem_description =", value, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionNotEqualTo(String value) {
            addCriterion("problem_description <>", value, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionGreaterThan(String value) {
            addCriterion("problem_description >", value, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("problem_description >=", value, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionLessThan(String value) {
            addCriterion("problem_description <", value, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionLessThanOrEqualTo(String value) {
            addCriterion("problem_description <=", value, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionLike(String value) {
            addCriterion("problem_description like", value, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionNotLike(String value) {
            addCriterion("problem_description not like", value, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionIn(List<String> values) {
            addCriterion("problem_description in", values, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionNotIn(List<String> values) {
            addCriterion("problem_description not in", values, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionBetween(String value1, String value2) {
            addCriterion("problem_description between", value1, value2, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andProblemDescriptionNotBetween(String value1, String value2) {
            addCriterion("problem_description not between", value1, value2, "problemDescription");
            return (Criteria) this;
        }

        public Criteria andHanderIdIsNull() {
            addCriterion("hander_id is null");
            return (Criteria) this;
        }

        public Criteria andHanderIdIsNotNull() {
            addCriterion("hander_id is not null");
            return (Criteria) this;
        }

        public Criteria andHanderIdEqualTo(Integer value) {
            addCriterion("hander_id =", value, "handerId");
            return (Criteria) this;
        }

        public Criteria andHanderIdNotEqualTo(Integer value) {
            addCriterion("hander_id <>", value, "handerId");
            return (Criteria) this;
        }

        public Criteria andHanderIdGreaterThan(Integer value) {
            addCriterion("hander_id >", value, "handerId");
            return (Criteria) this;
        }

        public Criteria andHanderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("hander_id >=", value, "handerId");
            return (Criteria) this;
        }

        public Criteria andHanderIdLessThan(Integer value) {
            addCriterion("hander_id <", value, "handerId");
            return (Criteria) this;
        }

        public Criteria andHanderIdLessThanOrEqualTo(Integer value) {
            addCriterion("hander_id <=", value, "handerId");
            return (Criteria) this;
        }

        public Criteria andHanderIdIn(List<Integer> values) {
            addCriterion("hander_id in", values, "handerId");
            return (Criteria) this;
        }

        public Criteria andHanderIdNotIn(List<Integer> values) {
            addCriterion("hander_id not in", values, "handerId");
            return (Criteria) this;
        }

        public Criteria andHanderIdBetween(Integer value1, Integer value2) {
            addCriterion("hander_id between", value1, value2, "handerId");
            return (Criteria) this;
        }

        public Criteria andHanderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("hander_id not between", value1, value2, "handerId");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNull() {
            addCriterion("telephone is null");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNotNull() {
            addCriterion("telephone is not null");
            return (Criteria) this;
        }

        public Criteria andTelephoneEqualTo(String value) {
            addCriterion("telephone =", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotEqualTo(String value) {
            addCriterion("telephone <>", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThan(String value) {
            addCriterion("telephone >", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThanOrEqualTo(String value) {
            addCriterion("telephone >=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThan(String value) {
            addCriterion("telephone <", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThanOrEqualTo(String value) {
            addCriterion("telephone <=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLike(String value) {
            addCriterion("telephone like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotLike(String value) {
            addCriterion("telephone not like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneIn(List<String> values) {
            addCriterion("telephone in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotIn(List<String> values) {
            addCriterion("telephone not in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneBetween(String value1, String value2) {
            addCriterion("telephone between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotBetween(String value1, String value2) {
            addCriterion("telephone not between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdIsNull() {
            addCriterion("problem_type_id is null");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdIsNotNull() {
            addCriterion("problem_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdEqualTo(Integer value) {
            addCriterion("problem_type_id =", value, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdNotEqualTo(Integer value) {
            addCriterion("problem_type_id <>", value, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdGreaterThan(Integer value) {
            addCriterion("problem_type_id >", value, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("problem_type_id >=", value, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdLessThan(Integer value) {
            addCriterion("problem_type_id <", value, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("problem_type_id <=", value, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdIn(List<Integer> values) {
            addCriterion("problem_type_id in", values, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdNotIn(List<Integer> values) {
            addCriterion("problem_type_id not in", values, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("problem_type_id between", value1, value2, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andProblemTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("problem_type_id not between", value1, value2, "problemTypeId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdIsNull() {
            addCriterion("responsible_party_id is null");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdIsNotNull() {
            addCriterion("responsible_party_id is not null");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdEqualTo(Integer value) {
            addCriterion("responsible_party_id =", value, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdNotEqualTo(Integer value) {
            addCriterion("responsible_party_id <>", value, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdGreaterThan(Integer value) {
            addCriterion("responsible_party_id >", value, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("responsible_party_id >=", value, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdLessThan(Integer value) {
            addCriterion("responsible_party_id <", value, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdLessThanOrEqualTo(Integer value) {
            addCriterion("responsible_party_id <=", value, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdIn(List<Integer> values) {
            addCriterion("responsible_party_id in", values, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdNotIn(List<Integer> values) {
            addCriterion("responsible_party_id not in", values, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdBetween(Integer value1, Integer value2) {
            addCriterion("responsible_party_id between", value1, value2, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andResponsiblePartyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("responsible_party_id not between", value1, value2, "responsiblePartyId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdIsNull() {
            addCriterion("registrant_id is null");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdIsNotNull() {
            addCriterion("registrant_id is not null");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdEqualTo(Integer value) {
            addCriterion("registrant_id =", value, "registrantId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdNotEqualTo(Integer value) {
            addCriterion("registrant_id <>", value, "registrantId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdGreaterThan(Integer value) {
            addCriterion("registrant_id >", value, "registrantId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("registrant_id >=", value, "registrantId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdLessThan(Integer value) {
            addCriterion("registrant_id <", value, "registrantId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdLessThanOrEqualTo(Integer value) {
            addCriterion("registrant_id <=", value, "registrantId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdIn(List<Integer> values) {
            addCriterion("registrant_id in", values, "registrantId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdNotIn(List<Integer> values) {
            addCriterion("registrant_id not in", values, "registrantId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdBetween(Integer value1, Integer value2) {
            addCriterion("registrant_id between", value1, value2, "registrantId");
            return (Criteria) this;
        }

        public Criteria andRegistrantIdNotBetween(Integer value1, Integer value2) {
            addCriterion("registrant_id not between", value1, value2, "registrantId");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkIsNull() {
            addCriterion("handle_remark is null");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkIsNotNull() {
            addCriterion("handle_remark is not null");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkEqualTo(String value) {
            addCriterion("handle_remark =", value, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkNotEqualTo(String value) {
            addCriterion("handle_remark <>", value, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkGreaterThan(String value) {
            addCriterion("handle_remark >", value, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("handle_remark >=", value, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkLessThan(String value) {
            addCriterion("handle_remark <", value, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkLessThanOrEqualTo(String value) {
            addCriterion("handle_remark <=", value, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkLike(String value) {
            addCriterion("handle_remark like", value, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkNotLike(String value) {
            addCriterion("handle_remark not like", value, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkIn(List<String> values) {
            addCriterion("handle_remark in", values, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkNotIn(List<String> values) {
            addCriterion("handle_remark not in", values, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkBetween(String value1, String value2) {
            addCriterion("handle_remark between", value1, value2, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andHandleRemarkNotBetween(String value1, String value2) {
            addCriterion("handle_remark not between", value1, value2, "handleRemark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusIsNull() {
            addCriterion("header_status is null");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusIsNotNull() {
            addCriterion("header_status is not null");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusEqualTo(Integer value) {
            addCriterion("header_status =", value, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusNotEqualTo(Integer value) {
            addCriterion("header_status <>", value, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusGreaterThan(Integer value) {
            addCriterion("header_status >", value, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("header_status >=", value, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusLessThan(Integer value) {
            addCriterion("header_status <", value, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusLessThanOrEqualTo(Integer value) {
            addCriterion("header_status <=", value, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusIn(List<Integer> values) {
            addCriterion("header_status in", values, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusNotIn(List<Integer> values) {
            addCriterion("header_status not in", values, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusBetween(Integer value1, Integer value2) {
            addCriterion("header_status between", value1, value2, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andHeaderStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("header_status not between", value1, value2, "headerStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusIsNull() {
            addCriterion("del_status is null");
            return (Criteria) this;
        }

        public Criteria andDelStatusIsNotNull() {
            addCriterion("del_status is not null");
            return (Criteria) this;
        }

        public Criteria andDelStatusEqualTo(Integer value) {
            addCriterion("del_status =", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusNotEqualTo(Integer value) {
            addCriterion("del_status <>", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusGreaterThan(Integer value) {
            addCriterion("del_status >", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("del_status >=", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusLessThan(Integer value) {
            addCriterion("del_status <", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusLessThanOrEqualTo(Integer value) {
            addCriterion("del_status <=", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusIn(List<Integer> values) {
            addCriterion("del_status in", values, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusNotIn(List<Integer> values) {
            addCriterion("del_status not in", values, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusBetween(Integer value1, Integer value2) {
            addCriterion("del_status between", value1, value2, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("del_status not between", value1, value2, "delStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}